An array of values of the columns specified in the
columnNames parameter. The length and order of values must correspond to column names specified in the
columnNames parameter. If the System.Type of some array value differs from the
C1ViewColumn.DataType of the corresponding column then this value will be converted to the column's target type automatically. In the case where such a conversion is impossible, an exception will be raised.
Finds a row in this
C1DataView by the specified values of the specified columns.
Syntax
'Declaration
Public Overloads Function Find( _
ByVal columnNames() As System.String, _
ByVal columnValues() As System.Object _
) As System.Integer
public System.int Find(
System.string[] columnNames,
System.object[] columnValues
)
Parameters
- columnNames
- An array of column names to search on.
- columnValues
- An array of values of the columns specified in the columnNames parameter. The length and order of values must correspond to column names specified in the columnNames parameter. If the System.Type of some array value differs from the C1ViewColumn.DataType of the corresponding column then this value will be converted to the column's target type automatically. In the case where such a conversion is impossible, an exception will be raised.
Return Value
An index of found row or -1 if row has not been found.
See Also